package com.smt.modules.bus.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.smt.common.base.BaseVo;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;

/**
 * 成员用户表
 *
 * @author murong
 * @email 981620741@qq.com
 * @date 2018-09-29 15:37:09
 */
@Data
@TableName("bus_member_user")
@ApiModel(value = "成员用户表", description = "成员用户表")
public class MemberUserVo extends BaseVo {
    private static final long serialVersionUID = 1L;

    /**
     * 成员用户id
     */
    @TableId
    @ApiModelProperty(value = "成员用户id", name = "userId", hidden = true)
    private Long userId;
    /**
     * 成员用户名
     */
    @ApiModelProperty(value = "成员用户名", name = "username", hidden = true)
    private String username;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "登录手机号", name = "mobile",required = true)
    private String mobile;
    /**
     * 密码
     */
    @ApiModelProperty(value = "登录密码", name = "password",required = true)
    private String password;
    /**
     * 性别：'0 男 1 女 2 其他'
     */
    @ApiModelProperty(value = "性别：'0 男 1 女 2 其他'", name = "sex", hidden = true)
    private Integer sex;
    /**
     * 成员所在公司id
     */
    @ApiModelProperty(value = "成员所在公司id", name = "companyId", hidden = true)
    private Long companyId;
    /**
     * 公司职位
     */
    @ApiModelProperty(value = "公司职位", name = "office", hidden = true)
    private String office;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", name = "email")
    private String email;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", name = "createTime", hidden = true)
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", name = "updateTime", hidden = true)
    private Date updateTime;
    /**
     * 总文件大小（单位G）
     */
    @ApiModelProperty(value = "总文件大小（单位G）", name = "sumSize", hidden = true)
    private Double sumSize;
    /**
     * 登录次数
     */
    @ApiModelProperty(value = "登录次数", name = "loginTimes", hidden = true)
    private Integer loginTimes;
    /**
     * 状态：（0，待确认；1，已确认）
     */
    @ApiModelProperty(value = "状态：（0，待确认；1，已确认）", name = "status", hidden = true)
    private Integer status;
    /**
     * 消息id
     */
    private String messageId;
    /**
     * 用户头像
     */
    @ApiModelProperty(value = "用户头像", name = "headImg", hidden = true)
    private String headImg;

    @TableField(exist = false)
    @ApiModelProperty(value = "", hidden = true)
    private Long situation;

    @TableField(exist = false)
    @ApiModelProperty(value = "验证码输入")
    private String code;
}